-
Notifications
You must be signed in to change notification settings - Fork 233
[Example 17] RRBot with Hardware Component that publishes diagnostics #840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the nice demo.
diagnostics
usually refers to ros/diagnostics. Should we include this here instead of simple rclcpp publishers, or rename the demo to something else?
ooh, I think since this is not particularly about diagnostics maybe it would be better to rename. would |
I like diagnostics and use it from my hardware components, so maybe this would be also good to use here? we have it already in the CM, this is no new dependency then. |
makes sense, I will use diagnostive for one of the publishers then, does that make sense? or both? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx!
The new functionality of the executor/node won't be backported to jazzy, right? so we have to branch the demos for jazzy before merging this PR. |
actually the executor approach is in works to be backported at ros-controls/ros2_control#2339, I think the default node will be as well after that, what do you say @saikishor @bmagyar |
Yes, it will be backported. Just waiting for one cycle of release of rolling, which happened this morning. We wait few days and release it |
so we should do a release of ros2_control soon. |
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed multiple instances of info_ to get_hardware_info() as in future, we might move the protected element to the private scope to avoid the code tampering it's content, for that reason, I proposed multiple suggestions here
Co-authored-by: Sai Kishor Kothakota <saisastra3@gmail.com>
Co-authored-by: Sai Kishor Kothakota <saisastra3@gmail.com>
General
This is an example to document the usage of the Executor passed from Controller Manager through the recently added Struct based
on_init()
methods. Made possible by ros-controls/ros2_control#2323as a further update that will be added in ros-controls/ros2_control#2348, this will also show how to use the default node added by the framework
This allows the user to add nodes of their own to the CMs executor and publish as necessary